package com.xcf.service.business.common.internalfee.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.xcf.dao.DaoSupport;
import com.xcf.service.business.common.internalfee.InternalFeeManageService;
import com.xcf.util.PageData;
@Service("InternalFeeManageServiceImpl")
public class InternalFeeManageServiceImpl implements InternalFeeManageService{
	@Resource(name = "daoSupport")
	private DaoSupport dao;
	@SuppressWarnings("unchecked")
	@Override
	public List<PageData> findInternalFeeManageInfoList(PageData pd) throws Exception {

		return (List<PageData>)dao.findForList("InternalFeeManage.findInternalFeeManage", pd);
	}
	@Override
	public void saveInternalFeeManageInfo(PageData pd) throws Exception {
		dao.save("InternalFeeManage.saveInternalFeeManage", pd);
		
	}
	@Override
	public void updateInternalFeeManageInfo(PageData pd) throws Exception {
		dao.update("InternalFeeManage.updateInternalFeeManage", pd);
		
	}
	@Override
	public void deleteInternalFeeManageInfo(PageData pd) throws Exception {
		dao.delete("InternalFeeManage.deleteInternalFeeManage", pd);
		
	}
	@Override
	public PageData finByone(PageData pd) throws Exception {
		
		return (PageData) dao.findForObject("InternalFeeManage.finByone", pd);
	}
	@Override
	public void update(PageData pd) throws Exception {

		dao.update("InternalFeeManage.update", pd);
	}

}
